package com.csxh.dao;

import java.io.Serializable;
import java.util.List;

public interface Dao<T, PK extends Serializable> {

	boolean save(T bean);

	boolean update(T... beans);

	boolean delete(PK id);

	T find(PK id);

	List<T> findAll();

	List<T> findAll(String sql, Object... params);

}
